arm/gic-v3: Parse per-cpu redistributor entry in GICC subtable
authorShanker Donthineni <shankerd@codeaurora.org>
Mon, 27 Jun 2016 20:33:36 +0000 (15:33 -0500)
committerStefano Stabellini <sstabellini@kernel.org>
Thu, 14 Jul 2016 14:13:58 +0000 (15:13 +0100)
commitcede7710119d41d7e32148d22033566a3d3abebe
tree8457d8ae04d1c80a7af310b57c2431cc8d08d7d5
parent525d5daf1a0662c6024251381fa1d008b7903c0b
arm/gic-v3: Parse per-cpu redistributor entry in GICC subtable

The redistributor address can be specified either as part of GICC or
GICR subtable depending on the power domain. The current driver
doesn't support parsing redistributor entry that is defined in GICC
subtable. The GIC CPU subtable entry holds the associated Redistributor
base address if it is not on always-on power domain.

The per CPU Redistributor size is not defined in ACPI specification.
Set the GICR region size to SZ_256K if the GIC hardware is capable of
Direct Virtual LPI Injection feature, SZ_128K otherwise.

This patch adds necessary code to handle both types of Redistributors
base addresses.

Signed-off-by: Shanker Donthineni <shankerd@codeaurora.org>
Acked-by: Julien Grall <julien.grall@arm.com>
Acked-by: Stefano Stabellini <sstabellini@kernel.org>
xen/arch/arm/gic-v3.c
xen/include/asm-arm/gic.h
xen/include/asm-arm/gic_v3_defs.h